<h2 class="main_title">Your Information &amp; Policies</h2>
<div class="def_width_100 f_left text_def_13">Use these pages to add custom content about your business and policies to the Amazon website.</div>
<div class="def_width_100 f_left text_def_13">To get started, simply select the page you want to review from the list below. <a href="#" class="blue_link">Learn more</a> </div>
<div class="pad_10"></div>
<?php echo $this->element('seller_pages_menu'); ?>
<div class="def_width_100 f_left">
  <h2 class="main_title">Create a New Custom Help Page </h2>
 <div class="def_width_100 f_left text_def_13">You may wish to include a custom help page to provide additional information to your customers </div>
  <div class="def_width_100 f_left"> 
    
    <!--*************matter main************************-->
        <?php echo $form->create('Seller', array('action'=>"", 'id'=>'SellerLoginForm', 'enctype'=>'multipart/form-data')) ?>
        <?php 
				echo $this->Form->input('SellerPage.type',array('type' => 'hidden',
				'value'=>"custom",'class'=>'fie1','label'=>false));
        ?> 
        <?php 
				if(isset($seller_about_us[0]['SellerPage']['id']) and ($seller_about_us[0]['SellerPage']['id']))
					{
						$id = $seller_about_us[0]['SellerPage']['id'];
					}
				else
					{
						$id = "";
					}

                echo $this->Form->input('SellerPage.id',array('type' => 'hidden','value'=>$id,'class'=>'fie1','label'=>false));
        ?>
    <div class="sellerInfo_gary">
      <div class="pad_10"></div>
      
      <div class="def_width_100 f_left">
        <div class="acc_form_1 form_width_30">
          Custom Help Page Title :  
         </div>
        <div class="acc_form_2 form_width_67">
		<?php 
				if(isset($seller_about_us[0]['SellerPage']['title']) and ($seller_about_us[0]['SellerPage']['title']))
					{
						$contenttitle = $seller_about_us[0]['SellerPage']['title'];
					}
				else
					{
						$contenttitle = "";
					}
                echo $this->Form->input('SellerPage.title',array('type' => 'text',
                 'required'=>true,'class'=>'fie1','value'=>$contenttitle, 'label'=>false));
        ?> 
        </div>
      </div>
      
      
      <div class="def_width_100 f_left">
        <div class="acc_form_1 form_width_30">
         Custom Help Page Body  :  <span class="gray_comment">(Max 10,000 characters)</span>
         </div>
        <div class="acc_form_2 form_width_67">
		<?php 
				if(isset($seller_about_us[0]['SellerPage']['content']) and ($seller_about_us[0]['SellerPage']['content']))
					{
						$content = $seller_about_us[0]['SellerPage']['content'];
					}
				else
					{
						$content = "";
					}
                echo $this->Form->input('SellerPage.content',array('type' => 'textarea',
                 'required'=>true,'class'=>'fie1','value'=>$content, 'label'=>false));
        ?> 
		 <script type="text/javascript">
new TINY.editor.edit('editor',{
	id:'SellerPageContent',
	width:584,
	height:175,
	cssclass:'te',
	controlclass:'tecontrol',
	rowclass:'teheader',
	dividerclass:'tedivider',
	controls:['bold','italic','underline','|','leftalign','centeralign','rightalign', 'font','size','style'],
	footer:true,
	fonts:['Verdana','Arial','Georgia','Trebuchet MS'],
	xhtml:true,
	cssfile:'style.css',
	bodyid:'editor',
	footerclass:'tefooter',
	toggle:{text:'source',activetext:'wysiwyg',cssclass:'toggle'},
	resize:{cssclass:'resize'}
});
</script>
        </div>
      </div>
      
      <div class="def_width_100 f_left">
        <div class="acc_form_1 form_width_30">
        Custom Help Page Image : <span class="gray_comment">(Max 10,000 characters)</span>
         </div>
        <div class="acc_form_2 form_width_67">
         <?php 
               echo $this->Form->input('SellerPage.logoImg', array('type' => 'file','value'=>'','class'=>'','label' =>false));
            ?>
        </div>
      </div>
      <div class="def_width_100 f_left">
        <div class="acc_form_1 form_width_30">&nbsp;</div>
        <div class="acc_form_2 form_width_67">
          <input type="submit" class="form_btn" value="Save" name="">
        </div>
      </div>
    </div>
     <?php echo $form->end(); ?> 
    <!--************* end matter main************************--> 
    
  </div>
</div>
